package com.etogc.view;

import android.app.Activity;

import com.etogc.groupchat.R;

import cn.qqtheme.framework.picker.OptionPicker;
import cn.qqtheme.framework.widget.WheelView;

/**
 * Created by ZeroVoid on 2018-2-28.
 */

public class MyOptionPicker extends OptionPicker {
    public MyOptionPicker(Activity activity, String[] items) {
        super(activity, items);
        setCanceledOnTouchOutside(false);
        setDividerRatio(WheelView.DividerConfig.FILL);
        setShadowColor(activity.getResources().getColor(R.color.shadow_picker), 40);
        setSelectedIndex(1);
        setCycleDisable(true);
        setTextSize(16);
    }
}
